<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title><%= @controller.controller_name.capitalize %>: <%= controller.action_name.capitalize %></title>
  <%= stylesheet_link_tag 'scaffold' %>
	<%= javascript_include_tag :defaults %>
	<%= calendar_date_select_includes("silver") %>
</head>
<body id="body">
<div id="header">
	<div id="riassunto">
		<%= render :partial => 'assistances/riassunto' %>
	</div>
	<p id="notice"><%= flash[:notice] %></p><p id="alert"><%= flash[:alert] %></p>
</div>
<div id="menu">
	
	<div class="<%= class_menu("assistances") %>"><%= link_to 'Assistenze', assistances_path %></div>
	<div class="<%= class_menu("clients") %>"><%= link_to 'Clienti', clients_path %></div>
	<div class="<%= class_menu("topten") %>"><%= link_to 'Top10', :controller => 'clients', :action => 'topten' %></div>
	<div class="<%= class_menu("contracts") %>"><%= link_to "Contratti", contracts_path %></div>
	<div class="<%= class_menu("operators") %>"><%= link_to 'Operatori', operators_path %></div>

  <form action='/clients' method='get' class="form_search">
    <input class="search" name="search" size="20" type="text" value="<%= params[:search] %>" />
    <input class="searchsubmit" type="image" src="<%= image_path("icon_search.gif") %>" />
  </form>
	<div class="clear"></div>
</div>
<div id="contenitore">

<div id="contenuto">
  <%= yield %>
</div>

<div id="screen_control">
</div>
<div class="clear"></div>

</div>
<div id="pie_pagina">
	
	<div class="servizi"><%= link_to 'Servizi', services_path %> | </div>
	<div class="operazioni"><%= link_to 'Operazioni', operations_path %> | </div>
	<div class="operazioni"><%= link_to 'Top10', :controller => 'clients', :action => 'topten' %> | </div>
	<div class="operazioni"><%= link_to 'Scadenza AV', :controller => 'admin', :action => 'scadenza_av' %></div>
	
  <form action='/clients' method='get' class="form_search">
    <input class="search" name="search" size="20" type="text" value="<%= params[:search] %>" />
    <input class="searchsubmit" type="image" src="<%= image_path("icon_search.gif") %>" />
  </form>
</div>
</body>
</html>
